package com.example.myFirstProject.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.example.myFirstProject.entity.Dept;

public interface DeptMapper {

	int insertDept(Dept dept);
	
	int deleteDept(@Param("deptId")Integer deptId);
	
	int updateDept(Dept dept);
	
	List<Dept> selectDept();
	
	Dept selectOneDept(@Param("deptId")Integer DeptId);
}
